<?php

// Entry point - place where main variable thru which
// we will be working with either DB or Mock data
//
// Declaring IUnitOfWork variable.
// Please, note. To switch between Mock/DB 
// create appropriate type(DBUnitOfWork/MockUnitOfWork)

// including all the stuff
$entryPointRoot = realpath($_SERVER["DOCUMENT_ROOT"]) . "/SmartTuition/SmartTuition.Model";
// IUnitOfWork - abstraction level
require_once("$entryPointRoot/Abstraction/IUnitOfWork.php");
// DB and Mock units of work
require_once("$entryPointRoot/Concrete/DBUnitOfWork.php");
require_once("$entryPointRoot/Concrete/MockUnitOfWork.php");

// Declaration
$unitOfWork = new DBUnitOfWork();